import { Button, Result } from 'antd';
import React from 'react';
import { history } from 'umi';

const NoFoundPage: React.FC = () => {
  return (
    <Result
      status="404"
      title="404"
      subTitle="对不起，没有找到您想要找的页面~"
      extra={
        <Button type="primary" onClick={() => history.push('/')}>
          返回Home
        </Button>
      }
    ></Result>
  );
};

export default NoFoundPage;
